//
//  JCBaseViewController.swift
//  JCTest3
//
//  Created by Chen on 10/10/2022.
//

import Cocoa

class JCBaseViewController: NSViewController {

    // appkit的controller默认没有设置view
    override func loadView() {
        guard let windowRect = NSApplication.shared.keyWindow?.frame else { return }
        let conView = JCBaseView(frame: windowRect)
        conView.setupViewBackgroundColor(color: .white)
        self.view = conView
        self.view.wantsLayer = true
 
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do view setup here.
        
    }
    
}

extension JCBaseViewController {
    
    

    
}
